package com.erHuo.service;

import com.erHuo.common.dao.IBaseDAO;
import com.erHuo.entity.AcctUser;

import java.io.Serializable;
import java.util.List;

/**
 * Created by djx on 2017/4/24.
 */
public interface UserService extends IBaseDAO<AcctUser, Serializable> {
    
    //保存
    public boolean saveOrUpdateAcctUser (AcctUser entity);
    //修改
    public boolean updateAcctUser (AcctUser id);
    //删除
    public boolean deleteAcctUser (AcctUser entity);
    //查询
    public List<AcctUser> findAcctUser ();
    //
    public List<AcctUser> findAcctUserByEmail(String name);
    //根据电话查询用户
    public List<AcctUser> findAcctUserByCellPhone(String cellphone);

    public List<AcctUser> findAcctUserForLogin(String str);
}
